package cn.edu.zafu.bigdata.x.bd121.animal;

/**
 * 子类:猫
 *
 * @author 202211090121
 */
public class Cat extends Animal{

    /**
     * 子类重写父类的makeSound方法
     */
    @Override
    public void makeSound() {
        System.out.println("Meow!");
    }

    public Cat() {
    }
}
